Skip to content

feat(client): type safe structured outputs #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 14, 2025

Conversation

damo
Copy link
Contributor

@damo damo commented May 5, 2025

Includes optional local JSON schema validation and draft SDK documentation.

@damo damo requested a review from a team as a code owner May 5, 2025 15:44
@damo damo force-pushed the damo/structured-outputs branch from 8c0d60a to 67381ff Compare May 7, 2025 10:32
@damo damo force-pushed the damo/structured-outputs branch from 67381ff to 9d5b956 Compare May 14, 2025 12:53
@damo damo requested a review from TomerAberbach May 14, 2025 12:54
@damo damo requested a review from TomerAberbach May 14, 2025 16:39
@TomerAberbach TomerAberbach changed the title Structured outputs feat(client): type safe structured outputs May 14, 2025
@TomerAberbach TomerAberbach merged commit 240ceb2 into openai:next May 14, 2025
@stainless-app stainless-app bot mentioned this pull request May 14, 2025
stainless-app bot pushed a commit that referenced this pull request May 15, 2025
* structured-outputs: updates and more unit tests.

* structured-outputs: repair after bad merge.

* structured-outputs: local validation, unit tests and documentation

* structured-outputs: changes from code review

* structured-outputs: added 'strict' flag

* structured-outputs: support for Responses API, review changes

* structured-outputs: removed support for Responses params Builder.body function

* structured-outputs: extra docs and simpler code

* docs: swap primary structured outputs example

---------

Co-authored-by: Tomer Aberbach <tomer@stainless.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants